package cn.wanxue.service.impl;

import cn.wanxue.mapper.CommonMapper;
import cn.wanxue.service.CommonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author zenghu
 * @date 2018/5/15 17:56
 */
@Service
public class CommonServiceImpl implements CommonService {

    @Autowired
    private CommonMapper commonMapper;

    public List<Map<String, Object>> customSqlQuery(String sql) {
        return commonMapper.customSqlQuery(sql);
    }
}